package com.ktjy.java;
import com.ktjy.anno.Hours;

@Hours(hours = 4)
@Hours(hours = 4.5)
@Hours(hours = 2)
public class worker {
    public static void main(String[] args) {
        Hours[]  hours = worker.class.getAnnotationsByType(Hours.class);
        for (Hours hour : hours) {
            System.out.println(hour);
        }
    }
}
